home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / addpriv.z / addpriv
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. AAAADDDDDDDDPPPPRRRRIIIIVVVV((((1111MMMM))))                                                        AAAADDDDDDDDPPPPRRRRIIIIVVVV((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      addpriv - add a privilege to the system administration privilege database
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////bbbbiiiinnnn////aaaaddddddddpppprrrriiiivvvv [ ----aaaauuuutttthhhh _a_u_t_h-_s_c_h_e_m_e ] _u_s_e_r _p_r_i_v_i_l_e_g_e [ _p_r_i_v_i_l_e_g_e
  13.      ... ]
  14.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////bbbbiiiinnnn////aaaaddddddddpppprrrriiiivvvv [ ----aaaauuuutttthhhh _a_u_t_h-_s_c_h_e_m_e ] ----cccchhhhkkkkccccoooonnnnffffiiiigggg
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      aaaaddddddddpppprrrriiiivvvv adds an entry to the _p_r_i_v_i_l_e_g_e(4) database, so that henceforth
  18.      _u_s_e_r is granted _p_r_i_v_i_l_e_g_e.  This means that _r_u_n_p_r_i_v would run the command
  19.      _p_r_i_v_i_l_e_g_e in the directory /_u_s_r/_s_y_s_a_d_m/_p_r_i_v_b_i_n on _u_s_e_r's behalf.
  20.  
  21.      Multiple _p_r_i_v_i_l_e_g_es can be passed to one _a_d_d_p_r_i_v command.  An entry is
  22.      added for each _p_r_i_v_i_l_e_g_e ssssppppeeeecccciiiiffffiiiieeeedddd....
  23.  
  24.      To see the privileges associated with individual tasks, choose "View as
  25.      Tasks" from the _P_r_i_v_i_l_e_g_e _M_a_n_a_g_e_r menu. See _p_r_i_v_m_g_r(_1_M).
  26.  
  27.      The ----cccchhhhkkkkccccoooonnnnffffiiiigggg option is used to enable privileges on the system.
  28.      aaaaddddddddpppprrrriiiivvvv ----cccchhhhkkkkccccoooonnnnffffiiiigggg runs the command cccchhhhkkkkccccoooonnnnffffiiiigggg pppprrrriiiivvvviiiilllleeeeggggeeeessss oooonnnn.
  29.  
  30.      In order to run aaaaddddddddpppprrrriiiivvvv, you must either be running as root or you must
  31.      provide the ----aaaauuuutttthhhh _a_u_t_h-_s_c_h_e_m_e arguments and pass the authentication test.
  32.      If _a_u_t_h-_s_c_h_e_m_e is uuuunnnniiiixxxx, then must you type the root password when
  33.      prompted in order to pass.
  34.  
  35.      The ability to run _a_d_d_p_r_i_v is not itself a privilege.  root cannot give
  36.      other users the ability to add or remove privileges.
  37.  
  38.      _a_d_d_p_r_i_v will print and log a warning if a privilege is added for an NIS
  39.      user account because it enables the administrator of the NIS server to
  40.      use privileges on this workstation by changing the password of a user
  41.      account that has privileges.
  42.  
  43. FFFFIIIILLLLEEEESSSS
  44.      /var/sysadm/privilege         Privilege database
  45.      /etc/config/privileges        Privilege configuration flag
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      sysmgr(1M), chkconfig(1M), runpriv(1M), checkpriv(1M), rmpriv(1M),
  49.      adddefpriv(1m), rmdefpriv(1m), addprivuser(1M), rmprivuser(1M),
  50.      privmgr(1M), privilege(4), defaultPrivileges(4), privilegedUsers(4).
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.